const str1 = 'i am student and teacher!';
console.log(str1.startsWith('i am'));
// true
const str3 = "hello world"
console.log(str3.startsWith('lo', 3));
// true
const str2 = 'Is this your grid friend?';
console.log(str2.startsWith('s this'));
// false